Energy Dispersive X-Ray Spectroscopy Theory And Demo